home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 January / PCWorld_2007-01_cd.bin / v cisle / autoit / autoit-v3.2.0.1-setup.exe / Examples / Helpfile / DriveMapAdd.au3 < prev    next >
Text File  |  2006-06-17  |  262b  |  7 lines

  1.  
  2. ; Map X drive to \\myserver\stuff using current user
  3. DriveMapAdd("X:", "\\myserver\stuff")
  4.  
  5. ; Map X drive to \\myserver2\stuff2 using the user "jon" from "domainx" with password "tickle"
  6. DriveMapAdd("X:", "\\myserver2\stuff2", 0, "domainx\jon", "tickle")
  7.